package com.java.bean;

import java.sql.Timestamp;

public class User {
    private int id;
    private String username;
    private String userPhone;
    private String password;
    private String userIdNumber;
    private Timestamp regTime;
    private Timestamp preTime;
    private boolean user;
    private int status;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public User(int status) {
        this.status = status;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserIdNumber() {
        return userIdNumber;
    }

    public void setUserIdNumber(String userIdNumber) {
        this.userIdNumber = userIdNumber;
    }

    public Timestamp getRegTime() {
        return regTime;
    }

    public void setRegTime(Timestamp regTime) {
        this.regTime = regTime;
    }

    public Timestamp getPreTime() {
        return preTime;
    }

    public void setPreTime(Timestamp preTime) {
        this.preTime = preTime;
    }

    public boolean isUser() {
        return user;
    }

    public void setUser(boolean user) {
        this.user = user;
    }

    public User() {
        this.id = id;
        this.username = username;
        this.userPhone = userPhone;
        this.password = password;
        this.userIdNumber = userIdNumber;
        this.regTime = regTime;
        this.preTime = preTime;
        this.user = user;
    }

    public User(int id, String username, String password, String userPhone, String userIdNumber, Timestamp regTime, Timestamp preTime) {
    }
}